﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>网上办事大厅首页</title>
    <link href="App_Themes/SkinFile/CSS/easyui.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="App_Themes/SkinFile/CSS/gcpage.css" />
    <link href="App_Themes/SkinFile/CSS/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="ScriptFile/jquery.js"></script>
    <script src="ScriptFile/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="ScriptFile/cookie.js"></script>
    <script src="ScriptFile/Common/Jquery.Global.js" type="text/javascript"></script>
    <script src="ScriptFile/Common/Jquery.Common.js" type="text/javascript"></script>
    <script src="ScriptFile/loginValide.js" type="text/javascript"></script>
    <script type="text/javascript">
        //打开用户注册页面
        function clickRegister() {
            window.open("UserRegister/UserReg.aspx");
        }

        //初始加载
        $(document).ready(function () {
            //加载顶部页面
            $("#tdTop").load("Top.htm", function () {
                $("#ucPageHead1_labMsg").html(GetCurrentDate());
                $("#btnReturn").css("display", "none");
            });

            BindXzxkList(""); //行政许可信息结果公示
            scrollText(); //滚动表格

            var loginPage = GetConfig("loginPage");
            setCookie('loginPageUrl', loginPage);            
            if (loginPage != "default.htm")
            {
                this.location.href = loginPage;
            }

            //加载底部数据
            $("#divBottom").load("Bottom.htm", function () {
                $("#aMain").bind("click", SetPageHome);

                HideLoading(); //隐藏进度条
            });
        });

        function clickYzm() {
            $('#imgYzm').attr('src', 'CheckCode.aspx?rnd=' + Math.random());
        }

        //查询
        function QueryInfo() {
            var strSqbh = encodeURI($("#txtSqbh").val());
            var strSqr = encodeURI($("#txtSqr").val());
            document.location.href = "AllInfoQuery.htm?sqbh=" + strSqbh + "&sqr=" + strSqr;
        }

        //添加行政许可查询功能
        function OpenQueryXuKe() {
            var strIID = $("#txtSlh").val();
            var strName = $("#txtSqdw").val(); 
            var strWhere = "{strIID:'" + strIID + "',strName:'" + strName + "',strRequestStartDate:'',strRequestEndDate:''}";
            BindXzxkList(strWhere); //行政许可信息结果公示
        }
        //div控制
        function ControlDiv(strId, strCloseId) {
            $("#" + strId).css("display", 'inline');
            $("#div" + strId).addClass('login_title_bar');
            $("#" + strCloseId).css("display", 'none');
            $("#div" + strCloseId).removeClass('login_title_bar');
        }

    </script>
</head>
<body onkeydown="EnterKeyClick()">
    <script type="text/javascript">
        ShowLoading(); //加载进度条
    </script>
    <div id="tdTop" style="margin: 0px auto; text-align: center;" class="page_box">
    </div>
    <div style="text-align: center; margin: 0px auto;" class="page_box">
        <div style="width: 300px; height: 220px; border-width: 1px; border-color: #65b3fa;
            margin-top: 20px; border-style: solid; float: left">
            <div class="login_bar_center" style="width: 100%">
                <div id="divLoginTitle" style="float: left; margin-left: 10px;" class="login_title_bar">
                    <div onclick="ControlDiv('LoginTitle','YwsbTitle')" style="padding-top: 10px; width: 99px;
                        cursor: pointer; font-size: 14px;">
                        用户登录</div>
                </div>
                <div id="divYwsbTitle" style="float: left; padding-left: 5px;">
                    <div onclick="ControlDiv('YwsbTitle','LoginTitle')" style="padding-top: 10px; width: 99px;
                        cursor: pointer; font-size: 14px;">
                        审批结果查询</div>
                </div>
            </div>
            <table style="border-color: #91A7B4; width: 100%; height: 180px; padding-top: 25px;
                font-size: 14pt;" border="0" id="LoginTitle">
                <tr>
                    <td align="right" style="font-size: 14px;">
                        用户名：
                    </td>
                    <td style="text-align: left; font-size: 14px;">
                        <input style="width: 140px; height: 16px" id="username" class="input" type="text" />
                    </td>
                </tr>
                <tr>
                    <td align="right" style="font-size: 14px;">
                        密&nbsp;&nbsp;码：
                    </td>
                    <td style="text-align: left; font-size: 14px;">
                        <input style="width: 140px; height: 16px" id="password" class="input" type="password" />
                    </td>
                </tr>
                <tr>
                    <td align="right" style="font-size: 14px;">
                        验证码：
                    </td>
                    <td style="text-align: left; font: 14px;">
                        <input style="width: 65px; height: 16px" id="txtCheckCode" class="input" type="text" />
                        <img src="CheckCode.aspx" alt="请点击刷新验证码" style="cursor: pointer" width="70px" height="22px"
                            id="imgYzm" onclick="this.src='CheckCode.aspx?rnd=' + Math.random();" />
                        <a href="#" onclick="clickYzm();">换一张</a>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="text-align: center; font-size: 14px;" colspan="2">
                        <input id="btnLogin" class="zxsbButton" onclick='validate()' value="登录" type="button" />
                        <input id="btnRegister" class="zxsbButton" onclick="clickRegister()" value="注册" type="button" />
                    </td>
                </tr>
            </table>
            <div id="YwsbTitle" style="display: none; padding-left: 0px;">
                <div style="padding-left: 0px; padding-top: 20px; font-size: 14px;">
                    批准号：<input style="width: 140px; height: 16px" id="txtSqbh" class="input" type="text" />
                </div>
                <div style="padding-left: 0px; padding-top: 10px; font-size: 14px;">
                    申请人：<input style="width: 140px; height: 16px" id="txtSqr" class="input" type="text" />
                </div>
                <div style="padding-left: 0px; padding-top: 10px; font-size: 14px;">
                    <input id="btnQuery" class="zxsbButton" onclick='QueryInfo()' value="查询" type="button" />
                </div>
            </div>
        </div>
        <div style="float: left; width: 650px; margin-top: 20px; margin-left: 10px;">
            <div class="xxgs_bar">
                办件公示</div>
            <table style="color: dodgerblue; border-color: #4fbff9; font-size: larger; font-weight: bold"
                border="1" cellspacing="0" bordercolorlight="#5eb4e1" bordercolordark="#eaf0ff"
                cellpadding="1" width="100%" align="center">
                <tr bgcolor="#dcedf6">
                    <td style="width: 25%">
                        批准号
                    </td>
                    <td style="width: 25%">
                        申请人
                    </td>
                    <td style="width: 25%">
                        名称
                    </td>
                    <td style="width: 25%">
                        批准时间
                    </td>
                </tr>
            </table>
            <div id="demo" style="width: 100%; height: 160px">
                <div id="demo1">
                </div>
                <div id="demo2">
                </div>
            </div>
        </div>
    </div>
    <div id="divBottom" style="margin: 0px auto; text-align: center;" class="page_box">
    </div>
</body>
</html>
